package entity

import "github.com/jinzhu/gorm"

type ExpressLog struct {
	gorm.Model
	OrderId        uint `gorm:"column:order_id;not null;"`         
	OrderNo        string `gorm:"column:order_no;"`                
	CustOrderCode  string `gorm:"column:cust_order_code;"`         
	WaybillNo      string `gorm:"column:waybill_no;not null;"`     
	OrderStateCode string `gorm:"column:order_state_code;not null;"`
	OrderStateDesc string `gorm:"column:order_state_desc;not null;"`
	EmpCode        string `gorm:"column:emp_code;"`                 
	EmpPhone       string `gorm:"column:emp_phone;"`                
	NetCode        string `gorm:"column:net_code;"`                 
	LastTime       string `gorm:"column:last_time;"`                
	BookTime       string `gorm:"column:book_time;"`                
	CarrierCode    string `gorm:"column:carrier_code;not null;"`    
}

func (ExpressLog) TableName() string {
	return "l_express_log"
}
